/*
 * Copyright (c) 2006-2022, Ulandlink Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-08-30     zlj         first version
 */
#ifndef _APP_WS2812B_SRV_H
#define _APP_WS2812B_SRV_H
#ifdef __cplusplus
 extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include <rtthread.h>
#include "os_types.h"

//typedef enum{
//    RGB_BLACK = 0X000000,
//    RGB_GREEN = 0XFF0000,
//    RGB_WHITE = 0XFFFFFF,
//    RGB_BLUE = 0X0000FF,
//    RGB_RED = 0X00FF00,
//    RGB_ORANGE = 0XFF6100
//}rgb_color_e;

void ws2812b_init(void);
uint8_t ws2812b_rgb_brightness_set(uint8_t color, uint8_t brightness);

#ifdef __cplusplus
}
#endif
#endif